package com.yjd.comm.funds.dto;

import java.io.Serializable;

/**
 * Created by yjd-wap on 2017/9/20.
 */
public class RepaymentPayDto implements Serializable {

    private Double price;
    private Long update_time;
    private Integer penalty_num;// 0 否 1 是
    private Double penalty;//默认为0
    private Double recovery;//已回收金额
    private Long user_id;
    private Double discount_amount;
    private Double interest;//本期利息
    private Long where_version;

    public RepaymentPayDto(){};
    public RepaymentPayDto(Long user_id,Double price,Long update_time,Integer penalty_num,Double penalty,
                           Double recovery,Double interest,Double discount_amount,Long where_version){
        this.user_id = user_id;
        this.price = price;
        this.update_time = update_time;
        this.penalty_num = penalty_num;
        this.penalty = penalty;
        this.recovery = recovery;
        this.interest = interest;
        this.where_version = where_version;
        this.discount_amount =discount_amount;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Long getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Long update_time) {
        this.update_time = update_time;
    }

    public Integer getPenalty_num() {
        return penalty_num;
    }

    public void setPenalty_num(Integer penalty_num) {
        this.penalty_num = penalty_num;
    }

    public Double getPenalty() {
        return penalty;
    }

    public void setPenalty(Double penalty) {
        this.penalty = penalty;
    }

    public Double getRecovery() {
        return recovery;
    }

    public void setRecovery(Double recovery) {
        this.recovery = recovery;
    }

    public Long getUser_id() {
        return user_id;
    }

    public void setUser_id(Long user_id) {
        this.user_id = user_id;
    }

    public Long getWhere_version() {
        return where_version;
    }

    public void setWhere_version(Long where_version) {
        this.where_version = where_version;
    }

    public Double getDiscount_amount() {
        return discount_amount;
    }

    public void setDiscount_amount(Double discount_amount) {
        this.discount_amount = discount_amount;
    }

    public Double getInterest() {
        return interest;
    }

    public void setInterest(Double interest) {
        this.interest = interest;
    }
}
